import type { SelectOption } from 'naive-ui'
const list: SelectOption[] = [
  {
    label: '评论',
    value: 1
  },
  {
    label: '主页背景',
    value: 2
  }
]

export default list

export function getbgTypeName(value: string) {
  const info = list.find((el: SelectOption) => el.value === value)
  return info?.label || value
}
